.class Lcom/netease/newsreader/activity/ImageSwitcherActivity$18;
.super Ljava/lang/Object;
.source "ImageSwitcherActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/netease/newsreader/activity/ImageSwitcherActivity;->setListener()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$18;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    .line 643
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4
    .parameter "v"

    .prologue
    const/4 v3, 0x0

    .line 648
    iget-object v0, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$18;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$0(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Landroid/widget/PopupWindow;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->dismiss()V

    .line 649
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 650
    iget-object v0, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$18;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$67(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 651
    iget-object v0, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$18;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$68(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Landroid/widget/LinearLayout;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/widget/LinearLayout;->setVisibility(I)V

    .line 652
    iget-object v0, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$18;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$14(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Landroid/widget/EditText;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/EditText;->requestFocus()Z

    .line 653
    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$18;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v1}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$8(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 654
    iget-object v0, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$18;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$93(Lcom/netease/newsreader/activity/ImageSwitcherActivity;Ljava/lang/String;)V

    .line 659
    :goto_0
    iget-object v0, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$18;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$18(Lcom/netease/newsreader/activity/ImageSwitcherActivity;Z)V

    .line 661
    iget-object v0, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$18;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$5(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Landroid/view/inputmethod/InputMethodManager;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 662
    iget-object v0, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$18;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v0}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$5(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Landroid/view/inputmethod/InputMethodManager;

    move-result-object v0

    iget-object v1, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$18;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v1}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$14(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Landroid/widget/EditText;

    move-result-object v1

    invoke-virtual {v0, v1, v3}, Landroid/view/inputmethod/InputMethodManager;->showSoftInput(Landroid/view/View;I)Z

    .line 665
    :cond_0
    return-void

    .line 656
    :cond_1
    iget-object v0, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$18;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/netease/newsreader/activity/ImageSwitcherActivity$18;->this$0:Lcom/netease/newsreader/activity/ImageSwitcherActivity;

    invoke-static {v2}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$8(Lcom/netease/newsreader/activity/ImageSwitcherActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "_"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {p1}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/netease/newsreader/activity/ImageSwitcherActivity;->access$93(Lcom/netease/newsreader/activity/ImageSwitcherActivity;Ljava/lang/String;)V

    goto :goto_0
.end method
